package com.feifan.oa.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.feifan.common.annotation.Excel;
import com.feifan.common.core.domain.BaseEntity;

/**
 * 具体流程对象 tb_flow_category_detail
 * 
 * @author 非凡
 * @date 2020-07-01
 */
public class FlowCategoryDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 具体流程类别明细名称 */
    @Excel(name = "具体流程类别明细名称")
    private String name;

    /** 流程类别主键 */
    @Excel(name = "流程类别名称")
    private FlowCategory flowCategory;

    /** 需要几层审核 */
    @Excel(name = "需要几层审核")
    private Integer tierCheck;

    /** 开始天数 */
    @Excel(name = "开始天数")
    private Integer beginDays;

    /** 结束天数 */
    @Excel(name = "结束天数")
    private Integer finishDays;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public FlowCategory getFlowCategory() {
        return flowCategory;
    }

    public void setFlowCategory(FlowCategory flowCategory) {
        this.flowCategory = flowCategory;
    }

    public Integer getTierCheck() {
        return tierCheck;
    }

    public void setTierCheck(Integer tierCheck) {
        this.tierCheck = tierCheck;
    }

    public Integer getBeginDays() {
        return beginDays;
    }

    public void setBeginDays(Integer beginDays) {
        this.beginDays = beginDays;
    }

    public Integer getFinishDays() {
        return finishDays;
    }

    public void setFinishDays(Integer finishDays) {
        this.finishDays = finishDays;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("flowCategoryInfo", getFlowCategory())
            .append("tierCheck", getTierCheck())
            .append("beginDays", getBeginDays())
            .append("finishDays", getFinishDays())
            .toString();
    }
}
